﻿using System;
using MyCatTest1.Models;

namespace MyCatTest1
{
    class Program
    {
        static void Main(string[] args)
        {
            var db = new SampleContext();

            for (int i = 1; i <= 100; i++)
            {
                db.Blogs.Add(new Blog() { Title = $"New Post {i}", Content = $"Hello MyCat", CreateTime = DateTime.Now });
            }

            db.SaveChanges();
        }
    }
}
